<!--
 * @Author: zhoulei0232
 * @Date: 2021-10-27 22:58:09
 * @LastEditTime: 2021-10-27 22:59:31
 * @LastEditors: zhoulei0232
 * @Description: 
-->
<template>
  <!-- 自定义组件的属性配置 -->
  <el-form v-show="selectItem.key" size="mini" :disabled="disabled">
    <!-- TCustom   start-->
    <template v-if="selectItem.type == 'customT'">
      <!-- 开关的label -->
      <el-form-item label="图片样式">
        <el-input
          type="textarea"
          placeholder="请输入"
          v-model="selectItem.options.style"
        />
      </el-form-item>
    </template>
    <!-- TCustom  end -->
  </el-form>
</template>
<script>
export default {
  props: {
    selectItem: {
      // 当前选择的组件
      type: Object,
      required: true,
    },
    disabled: {
      // 是否禁用
      type: Boolean,
      default: false,
    },
  },
};
</script>